package com.xymtop.api.config;

/**
 * @ClassName : WebSockConfig
 * @Description : websocket配置
 * @Author : 肖叶茂
 * @Date: 2022/12/9  12:18
 */
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import org.springframework.web.socket.server.standard.ServerEndpointExporter;

@Configuration
public class WebSocketConfig {
    @Bean
    public ServerEndpointExporter serverEndpointExporter() {
        return new ServerEndpointExporter();
    }

}